<?php
require('../..//public/zscg.php');
require('../..//public/local.php');
var_dump($_POST);
$_POST['ctime'] = time();

$res=insert($con,'fenlei',$_POST);

if($res){
    echo '添加成功';
    header('location:/admin/fenlei/index.php');
}else{
    echo '添加失败';
    header('location:/admin/fenlei/insert1.php');
}